home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / setup / vbnet / 23 web forms and controls / firstwebforms / listcontrolsform.aspx < prev    next >
Encoding:
ASP.NET Web Form  |  2002-03-17  |  2.0 KB  |  29 lines

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="ListControlsForm.aspx.vb" Inherits="FirstWebForms.ListControlsForm" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4.     <HEAD>
  5.         <title>ListControlsForm</title>
  6.         <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7.         <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8.         <meta content="JavaScript" name="vs_defaultClientScript">
  9.         <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10.     </HEAD>
  11.     <body>
  12.         <form id="Form1" method="post" runat="server">
  13.             <H1>List Control Demos</H1>
  14.             <P>All the controls on this form perform an auto-postback, so that the label beside 
  15.                 each one of them always contains updated information about the selection in the 
  16.                 control itself.</P>
  17.             <P><STRONG>Known Colors:    (DataDropList control)</STRONG></P>
  18.             <P><asp:dropdownlist id="ddlColors" runat="server" Width="152px" AutoPostBack="True"></asp:dropdownlist><asp:label id="lblDropDownListInfo" runat="server" ForeColor="Blue">Label</asp:label></P>
  19.             <P><STRONG>Publishers:   (ListBox control)</STRONG></P>
  20.             <P><asp:listbox id="lstPublishers" runat="server" Width="152px" AutoPostBack="True" SelectionMode="Multiple"></asp:listbox><asp:label id="lblListBoxInfo" runat="server" ForeColor="Blue">Label</asp:label></P>
  21.             <P><STRONG>Continents:   (CheckBoxList control)</STRONG></P>
  22.             <P><asp:checkboxlist id="cblContinents" runat="server" AutoPostBack="True" RepeatColumns="2"></asp:checkboxlist><asp:label id="lblCheckBoxListInfo" runat="server" ForeColor="Blue">Label</asp:label></P>
  23.             <P><STRONG>Weekdays:   (RadioButtonList control)</STRONG></P>
  24.             <P><asp:radiobuttonlist id="rblWeekdays" runat="server" AutoPostBack="True" RepeatColumns="4" RepeatDirection="Horizontal"></asp:radiobuttonlist><asp:label id="lblRadioButtonListInfo" runat="server" ForeColor="Blue">Label</asp:label></P>
  25.             <P> </P>
  26.         </form>
  27.     </body>
  28. </HTML>
  29.